﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
  [CustomAttribute(TableName = "bar_BarEntryRecords_main", Description = "出入库记录主表")]
   public class DbBarRecordsMain
    {
        private int? _id;
        private string _mcode;
        private string _mtype;
        private string _happendate;
        private string _warehouse;
        private string _maker;
        private string _createtime;
        private string _createuser;
        private string _status;
        private string _deptcode;
        private string _outordercode;
        private string _memo;
        private string _isform;
        private string _targetwarehouse;
        private string _inouttype;
        private string _referOrderCode;
        private string _goodsposition;
        private string _targetgoodsposition;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 单据类型（红、蓝单）
        /// </summary>
        public string isBlue { get; set; }
        /// <summary>
        /// 账套号
        /// </summary>
        public string baseCode { get; set; }
        /// <summary>
        /// 单号
        /// </summary>
        public string mCode
        {
            set { _mcode = value; }
            get { return _mcode; }
        }
        /// <summary>
        /// 出入库类型
        /// </summary>
        public string mType
        {
            set { _mtype = value; }
            get { return _mtype; }
        }
        /// <summary>
        /// 入库日期
        /// </summary>
        public string happenDate
        {
            set { _happendate = value; }
            get { return _happendate; }
        }
        /// <summary>
        /// 发生仓库
        /// </summary>
        public string wareHouse
        {
            set { _warehouse = value; }
            get { return _warehouse; }
        }
        /// <summary>
        /// 制单人
        /// </summary>
        public string maker
        {
            set { _maker = value; }
            get { return _maker; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string deptCode
        {
            set { _deptcode = value; }
            get { return _deptcode; }
        }
        /// <summary>
        /// 外部单据编码
        /// </summary>
        public string outOrderCode
        {
            set { _outordercode = value; }
            get { return _outordercode; }
        }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
        /// <summary>
        /// 数据来源
        /// </summary>
        public string isForm
        {
            set { _isform = value; }
            get { return _isform; }
        }
        /// <summary>
        /// 出入库类型
        /// </summary>
        public string inOutType
        {
            set { _inouttype = value; }
            get { return _inouttype; }
        }
        /// <summary>
        /// 关联U8单据号
        /// </summary>
        public string referOrderCode
        {
            set { _referOrderCode = value; }
            get { return _referOrderCode; }
        }
        /// <summary>
        /// 目标仓库(调拨时会用到)
        /// </summary>
        public string targetWareHouse
        {
            set { _targetwarehouse = value; }
            get { return _targetwarehouse; }
        }
        /// <summary>
        /// 目标货位(调拨时会用到)
        /// </summary>
        public string targetGoodsPosition
        {
            set { _targetgoodsposition = value; }
            get { return _targetgoodsposition; }
        }
        /// <summary>
        /// 发生货位
        /// </summary>
        public string goodsPosition
        {
            set { _goodsposition = value; }
            get { return _goodsposition; }
        }
        public string customCode { get; set; }
    }
}
